package com.education.service;

import com.education.pojo.*;

import java.util.List;

/**
 * Created by Administrator on 2018/4/23.
 * 根据科目和班级查询试卷
 */
public interface SelectTestPeper {
    //根据科目的ID和班级ID获取对应的试卷名
    public List<TestPaper> getTestPeper(Integer sid, Integer gid, String tpname);
    //根据班级名字获取对应的ID
    public Grade getGradeId(String gname);
    //根据课程名字获取对应的ID
    public Subject getSubjectId(String sname);
    //获取在线学习的知识
    public  List<StudyOnline> getAllStudyOnline();
    //根据试卷ID获取对应的题
    public List<ExampleQuestions> getAllExampleQustionByID(Integer tpId);
    //添加试卷到我的收藏表
    public int insertdatatoUserCollection(UserCollection userCollection);
    //根据用户ID 和 试卷ID查询我的收藏表的数据
    public List<UserCollection> selectByUidAndTpid(Integer uid, Integer tpid);
}
